package uplb.ics.cs190.e2d.display;

import javax.microedition.lcdui.game.GameCanvas;

import uplb.ics.cs190.e2d.graphics.Image;
import uplb.ics.cs190.e2d.math.Dimension;

public class StandardMobileMode extends GameCanvas implements Display {

	protected MIDletGraphics currentGraphics;
	
	protected javax.microedition.lcdui.Display display;
	
	public StandardMobileMode(boolean suppressKeyEvents, javax.microedition.lcdui.Display display) {
		super(suppressKeyEvents);
		this.display = display;
		this.currentGraphics = new MIDletGraphics();
	}

	public Graphics getBackBuffer() {
		currentGraphics.setGraphics(this.getGraphics());
		return currentGraphics;
	}

	public boolean flip() {
		this.flushGraphics();
		return true;
	}

	public void cleanup() {
		
	}

	public Dimension getSize() {
		return null;
	}

	public String getGraphicsDescription() {
		return null;
	}

	public Image getWindowIcon() {
		return null;
	}

	public String getWindowTitle() {
		return null;
	}

	public void setWindowIcon(Image icon) {
		
	}

	public void setWindowTitle(String title) {

	}

}
